home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
reader_requests
/
pdflib
/
pdfperl_wrap.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-09-16
|
139KB
|
4,660 lines
/*
* FILE : pdfperl_wrap.c
*
* This file was automatically generated by :
* Simplified Wrapper and Interface Generator (SWIG)
* Version 1.1 (Patch 5)
*
* Portions Copyright (c) 1995-1998
* The University of Utah and The Regents of the University of California.
* Permission is granted to distribute this file in any manner provided
* this notice remains intact.
*
* Do not make changes to this file--changes will be lost!
*
*/
#define SWIGCODE
/* Implementation : PERL 5 */
#define SWIGPERL
#define SWIGPERL5
#ifdef __cplusplus
#include <math.h>
#include <stdlib.h>
extern "C" {
#endif
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#undef free
#undef malloc
#include <string.h>
#ifdef __cplusplus
}
#endif
/* Definitions for compiling Perl extensions on a variety of machines */
#if defined(WIN32) || defined(__WIN32__)
# if defined(_MSC_VER)
# define SWIGEXPORT(a,b) __declspec(dllexport) a b
# else
# if defined(__BORLANDC__)
# define SWIGEXPORT(a,b) a _export b
# else
# define SWIGEXPORT(a,b) a b
# endif
# endif
#else
# define SWIGEXPORT(a,b) a b
#endif
#ifdef PERL_OBJECT
#define MAGIC_PPERL CPerl *pPerl = (CPerl *) this;
#define MAGIC_CAST (int (CPerl::*)(SV *, MAGIC *))
#define SWIGCLASS_STATIC
#else
#define MAGIC_PPERL
#define MAGIC_CAST
#define SWIGCLASS_STATIC static
#endif
/*****************************************************************************
* $Header: /home/beazley/SWIG/SWIG1.1b3/swig_lib/perl5/RCS/perl5ptr.swg,v 1.1 1996/12/26 22:17:29 beazley Exp beazley $
*
* perl5ptr.swg
*
* This file contains supporting code for the SWIG run-time type checking
* mechanism. The following functions are available :
*
* SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *));
*
* Registers a new type-mapping with the type-checker. origtype is the
* original datatype and newtype is an equivalent type. cast is optional
* pointer to a function to cast pointer values between types (this
* is only used to cast pointers from derived classes to base classes in C++)
*
* SWIG_MakePtr(char *buffer, void *ptr, char *typestring);
*
* Makes a pointer string from a pointer and typestring. The result is returned
* in buffer.
*
* char * SWIG_GetPtr(SV *obj, void **ptr, char *type)
*
* Gets a pointer value from a Perl5 scalar value. If there is a
* type-mismatch, returns a character string to the received type.
* On success, returns NULL.
*
*
* You can remap these functions by making a file called "swigptr.swg" in
* your the same directory as the interface file you are wrapping.
*
* These functions are normally declared static, but this file can be
* can be used in a multi-module environment by redefining the symbol
* SWIGSTATIC.
*
* $Log: perl5ptr.swg,v $
* Revision 1.1 1996/12/26 22:17:29 beazley
* Initial revision
*
*****************************************************************************/
#include <stdlib.h>
#ifdef SWIG_GLOBAL
#ifdef __cplusplus
#define SWIGSTATIC extern "C"
#else
#define SWIGSTATIC
#endif
#endif
#ifndef SWIGSTATIC
#define SWIGSTATIC static
#endif
/* These are internal variables. Should be static */
typedef struct SwigPtrType {
char *name;
int len;
void *(*cast)(void *);
struct SwigPtrType *next;
} SwigPtrType;
/* Pointer cache structure */
typedef struct {
int stat; /* Status (valid) bit */
SwigPtrType *tp; /* Pointer to type structure */
char name[256]; /* Given datatype name */
char mapped[256]; /* Equivalent name */
} SwigCacheType;
static int SwigPtrMax = 64; /* Max entries that can be currently held */
static int SwigPtrN = 0; /* Current number of entries */
static int SwigPtrSort = 0; /* Status flag indicating sort */
static SwigPtrType *SwigPtrTable = 0; /* Table containing pointer equivalences */
static int SwigStart[256]; /* Table containing starting positions */
/* Cached values */
#define SWIG_CACHESIZE 8
#define SWIG_CACHEMASK 0x7
static SwigCacheType SwigCache[SWIG_CACHESIZE];
static int SwigCacheIndex = 0;
static int SwigLastCache = 0;
/* Sort comparison function */
static int swigsort(const void *data1, const void *data2) {
SwigPtrType *d1 = (SwigPtrType *) data1;
SwigPtrType *d2 = (SwigPtrType *) data2;
return strcmp(d1->name,d2->name);
}
/* Binary Search function */
static int swigcmp(const void *key, const void *data) {
char *k = (char *) key;
SwigPtrType *d = (SwigPtrType *) data;
return strncmp(k,d->name,d->len);
}
/* Register a new datatype with the type-checker */
#ifndef PERL_OBJECT
SWIGSTATIC
void SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *)) {
#else
SWIGSTATIC
#define SWIG_RegisterMapping(a,b,c) _SWIG_RegisterMapping(pPerl, a,b,c)
void _SWIG_RegisterMapping(CPerl *pPerl, char *origtype, char *newtype, void *(*cast)(void *)) {
#endif
int i;
SwigPtrType *t = 0, *t1;
if (!SwigPtrTable) {
SwigPtrTable = (SwigPtrType *) malloc(SwigPtrMax*sizeof(SwigPtrType));
SwigPtrN = 0;
}
if (SwigPtrN >= SwigPtrMax) {
SwigPtrMax = 2*SwigPtrMax;
SwigPtrTable = (SwigPtrType *) realloc(SwigPtrTable,SwigPtrMax*sizeof(SwigPtrType));
}
for (i = 0; i < SwigPtrN; i++)
if (strcmp(SwigPtrTable[i].name,origtype) == 0) {
t = &SwigPtrTable[i];
break;
}
if (!t) {
t = &SwigPtrTable[SwigPtrN];
t->name = origtype;
t->len = strlen(t->name);
t->cast = 0;
t->next = 0;
SwigPtrN++;
}
while (t->next) {
if (strcmp(t->name,newtype) == 0) {
if (cast) t->cast = cast;
return;
}
t = t->next;
}
t1 = (SwigPtrType *) malloc(sizeof(SwigPtrType));
t1->name = newtype;
t1->len = strlen(t1->name);
t1->cast = cast;
t1->next = 0;
t->next = t1;
SwigPtrSort = 0;
}
/* Make a pointer value string */
SWIGSTATIC
void SWIG_MakePtr(char *_c, const void *_ptr, char *type) {
static char _hex[16] =
{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
'a', 'b', 'c', 'd', 'e', 'f'};
unsigned long _p, _s;
char _result[20], *_r; /* Note : a 64-bit hex number = 16 digits */
_r = _result;
_p = (unsigned long) _ptr;
if (_p > 0) {
while (_p > 0) {
_s = _p & 0xf;
*(_r++) = _hex[_s];
_p = _p >> 4;
}
*_r = '_';
while (_r >= _result)
*(_c++) = *(_r--);
} else {
strcpy (_c, "NULL");
}
if (_ptr)
strcpy (_c, type);
}
/* Define for backwards compatibility */
#define _swig_make_hex SWIG_MakePtr
/* Function for getting a pointer value */
#ifndef PERL_OBJECT
SWIGSTATIC
char *SWIG_GetPtr(SV *sv, void **ptr, char *_t)
#else
SWIGSTATIC
#define SWIG_GetPtr(a,b,c) _SWIG_GetPtr(pPerl,a,b,c)
char *_SWIG_GetPtr(CPerl *pPerl, SV *sv, void **ptr, char *_t)
#endif
{
char temp_type[256];
char *name,*_c;
int len,i,start,end;
IV tmp;
SwigPtrType *sp,*tp;
SwigCacheType *cache;
/* If magical, apply more magic */
if (SvGMAGICAL(sv))
mg_get(sv);
/* Check to see if this is an object */
if (sv_isobject(sv)) {
SV *tsv = (SV*) SvRV(sv);
if ((SvTYPE(tsv) == SVt_PVHV)) {
MAGIC *mg;
if (SvMAGICAL(tsv)) {
mg = mg_find(tsv,'P');
if (mg) {
SV *rsv = mg->mg_obj;
if (sv_isobject(rsv)) {
tmp = SvIV((SV*)SvRV(rsv));
}
}
} else {
return "Not a valid pointer value";
}
} else {
tmp = SvIV((SV*)SvRV(sv));
}
if (!_t) {
*(ptr) = (void *) tmp;
return (char *) 0;
}
} else if (sv == &sv_undef) { /* Check for undef */
*(ptr) = (void *) 0;
return (char *) 0;
} else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
*(ptr) = (void *) 0;
if (!SvROK(sv))
return (char *) 0;
else
return "Not a valid pointer value";
} else { /* Don't know what it is */
*(ptr) = (void *) 0;
return "Not a valid pointer value";
}
if (_t) {
/* Now see if the types match */
if (!sv_isa(sv,_t)) {
_c = HvNAME(SvSTASH(SvRV(sv)));
if (!SwigPtrSort) {
qsort((void *) SwigPtrTable, SwigPtrN, sizeof(SwigPtrType), swigsort);
for (i = 0; i < 256; i++) {
SwigStart[i] = SwigPtrN;
}
for (i = SwigPtrN-1; i >= 0; i--) {
SwigStart[SwigPtrTable[i].name[0]] = i;
}
for (i = 255; i >= 1; i--) {
if (SwigStart[i-1] > SwigStart[i])
SwigStart[i-1] = SwigStart[i];
}
SwigPtrSort = 1;
for (i = 0; i < SWIG_CACHESIZE; i++)
SwigCache[i].stat = 0;
}
/* First check cache for matches. Uses last cache value as starting point */
cache = &SwigCache[SwigLastCache];
for (i = 0; i < SWIG_CACHESIZE; i++) {
if (cache->stat) {
if (strcmp(_t,cache->name) == 0) {
if (strcmp(_c,cache->mapped) == 0) {
cache->stat++;
*ptr = (void *) tmp;
if (cache->tp->cast) *ptr = (*(cache->tp->cast))(*ptr);
return (char *) 0;
}
}
}
SwigLastCache = (SwigLastCache+1) & SWIG_CACHEMASK;
if (!SwigLastCache) cache = SwigCache;
else cache++;
}
start = SwigStart[_t[0]];
end = SwigStart[_t[0]+1];
sp = &SwigPtrTable[start];
while (start < end) {
if (swigcmp(_t,sp) == 0) break;
sp++;
start++;
}
if (start >= end) sp = 0;
if (sp) {
while (swigcmp(_t,sp) == 0) {
name = sp->name;
len = sp->len;
tp = sp->next;
while(tp) {
if (tp->len >= 255) {
return _c;
}
strcpy(temp_type,tp->name);
strncat(temp_type,_t+len,255-tp->len);
if (sv_isa(sv,temp_type)) {
/* Get pointer value */
*ptr = (void *) tmp;
if (tp->cast) *ptr = (*(tp->cast))(*ptr);
strcpy(SwigCache[SwigCacheIndex].mapped,_c);
strcpy(SwigCache[SwigCacheIndex].name,_t);
SwigCache[SwigCacheIndex].stat = 1;
SwigCache[SwigCacheIndex].tp = tp;
SwigCacheIndex = SwigCacheIndex & SWIG_CACHEMASK;
return (char *) 0;
}
tp = tp->next;
}
/* Hmmm. Didn't find it this time */
sp++;
}
}
/* Didn't find any sort of match for this data.
Get the pointer value and return the received type */
*ptr = (void *) tmp;
return _c;
} else {
/* Found a match on the first try. Return pointer value */
*ptr = (void *) tmp;
return (char *) 0;
}
}
*ptr = (void *) tmp;
return (char *) 0;
}
/* Compatibility mode */
#define _swig_get_hex SWIG_GetPtr
/* Magic variable code */
#ifndef PERL_OBJECT
#define swig_create_magic(s,a,b,c) _swig_create_magic(s,a,b,c)
static void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *)) {
#else
#define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
static void _swig_create_magic(CPerl *pPerl, SV *sv, char *name, int (CPerl::*set)(SV *, MAGIC *), int (CPerl::*get)(SV *, MAGIC *)) {
#endif
MAGIC *mg;
sv_magic(sv,sv,'U',name,strlen(name));
mg = mg_find(sv,'U');
mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
mg->mg_virtual->svt_get = get;
mg->mg_virtual->svt_set = set;
mg->mg_virtual->svt_len = 0;
mg->mg_virtual->svt_clear = 0;
mg->mg_virtual->svt_free = 0;
}
#define SWIG_init boot_pdflib
#define SWIG_name "pdflibc::boot_pdflib"
#define SWIG_varinit "pdflibc::var_pdflib_init();"
#ifdef __cplusplus
extern "C"
#endif
#ifndef PERL_OBJECT
SWIGEXPORT(void,boot_pdflib)(CV* cv);
#else
SWIGEXPORT(void,boot_pdflib)(CPerl *, CV *cv);
#endif
#include "pdf.h"
#ifndef PERL_OBJECT
#define swig_setpv(a,b) _swig_setpv(a,b)
static void _swig_setpv(char *name, char *value) {
#else
#define swig_setpv(a,b) _swig_setpv(pPerl,a,b)
static void _swig_setpv(CPerl *pPerl, char *name, char *value) {
#endif
SV *sv;
sv = perl_get_sv(name,TRUE | 0x2);
sv_setpv(sv, value);
SvREADONLY_on(sv);
}
#ifndef PERL_OBJECT
#define swig_setiv(a,b) _swig_setiv(a,b)
static void _swig_setiv(char *name, long value) {
#else
#define swig_setiv(a,b) _swig_setiv(pPerl,a,b)
static void _swig_setiv(CPerl *pPerl, char *name, long value) {
#endif
SV *sv;
sv = perl_get_sv(name,TRUE | 0x2);
sv_setiv(sv, (IV) value);
SvREADONLY_on(sv);
}
extern PDF_pagesize a0;
extern PDF_pagesize a1;
extern PDF_pagesize a2;
extern PDF_pagesize a3;
extern PDF_pagesize a4;
extern PDF_pagesize a5;
extern PDF_pagesize a6;
extern PDF_pagesize b5;
extern PDF_pagesize letter;
extern PDF_pagesize legal;
extern PDF_pagesize ledger;
extern PDF_pagesize p11x17;
#ifdef PERL_OBJECT
#define MAGIC_CLASS _wrap_pdflib_var::
class _wrap_pdflib_var : public CPerl {
public:
#else
#define MAGIC_CLASS
#endif
SWIGCLASS_STATIC int swig_magic_readonly(SV *sv, MAGIC *mg) {
MAGIC_PPERL
sv = sv; mg = mg;
croak("Value is read-only.");
return 0;
}
SWIGCLASS_STATIC int _wrap_set_a0(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of a0. Expected PDF_pagesize.");
return(1);
}
a0 = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_a0(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &a0);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_a1(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of a1. Expected PDF_pagesize.");
return(1);
}
a1 = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_a1(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &a1);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_a2(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of a2. Expected PDF_pagesize.");
return(1);
}
a2 = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_a2(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &a2);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_a3(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of a3. Expected PDF_pagesize.");
return(1);
}
a3 = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_a3(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &a3);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_a4(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of a4. Expected PDF_pagesize.");
return(1);
}
a4 = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_a4(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &a4);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_a5(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of a5. Expected PDF_pagesize.");
return(1);
}
a5 = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_a5(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &a5);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_a6(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of a6. Expected PDF_pagesize.");
return(1);
}
a6 = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_a6(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &a6);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_b5(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of b5. Expected PDF_pagesize.");
return(1);
}
b5 = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_b5(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &b5);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_letter(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of letter. Expected PDF_pagesize.");
return(1);
}
letter = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_letter(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &letter);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_legal(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of legal. Expected PDF_pagesize.");
return(1);
}
legal = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_legal(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &legal);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_ledger(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of ledger. Expected PDF_pagesize.");
return(1);
}
ledger = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_ledger(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &ledger);
return 1;
}
SWIGCLASS_STATIC int _wrap_set_p11x17(SV* sv, MAGIC *mg) {
void *_temp;
MAGIC_PPERL
mg = mg;
if (SWIG_GetPtr(sv,(void **) &_temp,"PDF_pagesize")) {
croak("Type error in value of p11x17. Expected PDF_pagesize.");
return(1);
}
p11x17 = *((PDF_pagesize *) _temp);
return 1;
}
SWIGCLASS_STATIC int _wrap_val_p11x17(SV *sv, MAGIC *mg) {
SV *rsv;
MAGIC_PPERL
mg = mg;
rsv = SvRV(sv);
sv_setiv(rsv,(IV) &p11x17);
return 1;
}
#ifdef PERL_OBJECT
};
#endif
XS(_wrap_PDF_get_info) {
PDF_info * _result;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 0) || (items > 0))
croak("Usage: PDF_get_info();");
_result = (PDF_info *)PDF_get_info();
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"PDF_info", (void *) _result);
XSRETURN(argvi);
}
XS(_wrap_PDF_open) {
PDF * _result;
FILE * _arg0;
PDF_info * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_open(fp,info);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"FILEPtr")) {
croak("Type error in argument 1 of PDF_open. Expected FILEPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_info")) {
croak("Type error in argument 2 of PDF_open. Expected PDF_info.");
XSRETURN(1);
}
_result = (PDF *)PDF_open(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"PDFPtr", (void *) _result);
XSRETURN(argvi);
}
XS(_wrap_PDF_close) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_close(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_close. Expected PDFPtr.");
XSRETURN(1);
}
PDF_close(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_begin_page) {
PDF * _arg0;
float _arg1;
float _arg2;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 3) || (items > 3))
croak("Usage: PDF_begin_page(p,height,width);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_begin_page. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
PDF_begin_page(_arg0,_arg1,_arg2);
XSRETURN(argvi);
}
XS(_wrap_PDF_end_page) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_end_page(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_end_page. Expected PDFPtr.");
XSRETURN(1);
}
PDF_end_page(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_transition) {
PDF * _arg0;
PDF_transition _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_set_transition(p,t);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_transition. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (PDF_transition )SvIV(ST(1));
PDF_set_transition(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_duration) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_set_duration(p,t);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_duration. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_set_duration(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_malloc) {
void * _result;
size_t * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_malloc(size,caller);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"size_tPtr")) {
croak("Type error in argument 1 of PDF_malloc. Expected size_tPtr.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (void *)PDF_malloc(*_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"voidPtr", (void *) _result);
XSRETURN(argvi);
}
XS(_wrap_PDF_free) {
void * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_free(mem);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
croak("Type error in argument 1 of PDF_free. Expected voidPtr.");
XSRETURN(1);
}
PDF_free(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_show) {
PDF * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_show(p,text);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_show. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
PDF_show(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_show_xy) {
PDF * _arg0;
char * _arg1;
float _arg2;
float _arg3;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 4) || (items > 4))
croak("Usage: PDF_show_xy(p,text,x,y);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_show_xy. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
PDF_show_xy(_arg0,_arg1,_arg2,_arg3);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_font) {
PDF * _arg0;
char * _arg1;
float _arg2;
PDF_encoding _arg3;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 4) || (items > 4))
croak("Usage: PDF_set_font(p,fontname,fontsize,enc);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_font. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_arg2 = (float ) SvNV(ST(2));
_arg3 = (PDF_encoding )SvIV(ST(3));
PDF_set_font(_arg0,_arg1,_arg2,_arg3);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_leading) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_set_leading(p,l);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_leading. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_set_leading(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_text_rise) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_set_text_rise(p,rise);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_text_rise. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_set_text_rise(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_horiz_scaling) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_set_horiz_scaling(p,scale);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_horiz_scaling. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_set_horiz_scaling(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_text_rendering) {
PDF * _arg0;
byte _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_set_text_rendering(p,mode);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_text_rendering. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (byte )SvIV(ST(1));
PDF_set_text_rendering(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_text_matrix) {
PDF * _arg0;
PDF_matrix * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_set_text_matrix(p,m);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_text_matrix. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_matrix")) {
croak("Type error in argument 2 of PDF_set_text_matrix. Expected PDF_matrix.");
XSRETURN(1);
}
PDF_set_text_matrix(_arg0,*_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_text_pos) {
PDF * _arg0;
float _arg1;
float _arg2;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 3) || (items > 3))
croak("Usage: PDF_set_text_pos(p,x,y);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_text_pos. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
PDF_set_text_pos(_arg0,_arg1,_arg2);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_char_spacing) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_set_char_spacing(p,spacing);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_char_spacing. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_set_char_spacing(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_set_word_spacing) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_set_word_spacing(p,spacing);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_set_word_spacing. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_set_word_spacing(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_continue_text) {
PDF * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_continue_text(p,text);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_continue_text. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
PDF_continue_text(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_save) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_save(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_save. Expected PDFPtr.");
XSRETURN(1);
}
PDF_save(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_restore) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_restore(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_restore. Expected PDFPtr.");
XSRETURN(1);
}
PDF_restore(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_translate) {
PDF * _arg0;
float _arg1;
float _arg2;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 3) || (items > 3))
croak("Usage: PDF_translate(p,tx,ty);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_translate. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
PDF_translate(_arg0,_arg1,_arg2);
XSRETURN(argvi);
}
XS(_wrap_PDF_scale) {
PDF * _arg0;
float _arg1;
float _arg2;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 3) || (items > 3))
croak("Usage: PDF_scale(p,sx,sy);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_scale. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
PDF_scale(_arg0,_arg1,_arg2);
XSRETURN(argvi);
}
XS(_wrap_PDF_rotate) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_rotate(p,phi);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_rotate. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_rotate(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_setdash) {
PDF * _arg0;
float _arg1;
float _arg2;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 3) || (items > 3))
croak("Usage: PDF_setdash(p,d1,d2);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setdash. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
PDF_setdash(_arg0,_arg1,_arg2);
XSRETURN(argvi);
}
XS(_wrap_PDF_setpolydash) {
PDF * _arg0;
float * _arg1;
int _arg2;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 3) || (items > 3))
croak("Usage: PDF_setpolydash(p,darray,length);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setpolydash. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"floatPtr")) {
croak("Type error in argument 2 of PDF_setpolydash. Expected floatPtr.");
XSRETURN(1);
}
_arg2 = (int )SvIV(ST(2));
PDF_setpolydash(_arg0,_arg1,_arg2);
XSRETURN(argvi);
}
XS(_wrap_PDF_setflat) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_setflat(p,flat);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setflat. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_setflat(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_setlinejoin) {
PDF * _arg0;
byte _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_setlinejoin(p,join);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setlinejoin. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (byte )SvIV(ST(1));
PDF_setlinejoin(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_setlinecap) {
PDF * _arg0;
byte _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_setlinecap(p,cap);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setlinecap. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (byte )SvIV(ST(1));
PDF_setlinecap(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_setmiterlimit) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_setmiterlimit(p,miter);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setmiterlimit. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_setmiterlimit(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_setlinewidth) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_setlinewidth(p,width);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setlinewidth. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_setlinewidth(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_setgray_fill) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_setgray_fill(p,g);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setgray_fill. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_setgray_fill(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_setgray_stroke) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_setgray_stroke(p,g);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setgray_stroke. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_setgray_stroke(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_setgray) {
PDF * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_setgray(p,g);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setgray. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
PDF_setgray(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_setrgbcolor_fill) {
PDF * _arg0;
float _arg1;
float _arg2;
float _arg3;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 4) || (items > 4))
croak("Usage: PDF_setrgbcolor_fill(p,red,green,blue);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setrgbcolor_fill. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
PDF_setrgbcolor_fill(_arg0,_arg1,_arg2,_arg3);
XSRETURN(argvi);
}
XS(_wrap_PDF_setrgbcolor_stroke) {
PDF * _arg0;
float _arg1;
float _arg2;
float _arg3;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 4) || (items > 4))
croak("Usage: PDF_setrgbcolor_stroke(p,red,green,blue);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setrgbcolor_stroke. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
PDF_setrgbcolor_stroke(_arg0,_arg1,_arg2,_arg3);
XSRETURN(argvi);
}
XS(_wrap_PDF_setrgbcolor) {
PDF * _arg0;
float _arg1;
float _arg2;
float _arg3;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 4) || (items > 4))
croak("Usage: PDF_setrgbcolor(p,red,green,blue);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_setrgbcolor. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
PDF_setrgbcolor(_arg0,_arg1,_arg2,_arg3);
XSRETURN(argvi);
}
XS(_wrap_PDF_moveto) {
PDF * _arg0;
float _arg1;
float _arg2;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 3) || (items > 3))
croak("Usage: PDF_moveto(p,x,y);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_moveto. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
PDF_moveto(_arg0,_arg1,_arg2);
XSRETURN(argvi);
}
XS(_wrap_PDF_lineto) {
PDF * _arg0;
float _arg1;
float _arg2;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 3) || (items > 3))
croak("Usage: PDF_lineto(p,x,y);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_lineto. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
PDF_lineto(_arg0,_arg1,_arg2);
XSRETURN(argvi);
}
XS(_wrap_PDF_curveto) {
PDF * _arg0;
float _arg1;
float _arg2;
float _arg3;
float _arg4;
float _arg5;
float _arg6;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 7) || (items > 7))
croak("Usage: PDF_curveto(p,x1,y1,x2,y2,x3,y3);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_curveto. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
_arg4 = (float ) SvNV(ST(4));
_arg5 = (float ) SvNV(ST(5));
_arg6 = (float ) SvNV(ST(6));
PDF_curveto(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
XSRETURN(argvi);
}
XS(_wrap_PDF_circle) {
PDF * _arg0;
float _arg1;
float _arg2;
float _arg3;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 4) || (items > 4))
croak("Usage: PDF_circle(p,x,y,r);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_circle. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
PDF_circle(_arg0,_arg1,_arg2,_arg3);
XSRETURN(argvi);
}
XS(_wrap_PDF_arc) {
PDF * _arg0;
float _arg1;
float _arg2;
float _arg3;
float _arg4;
float _arg5;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 6) || (items > 6))
croak("Usage: PDF_arc(p,x,y,r,alpha1,alpha2);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_arc. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
_arg4 = (float ) SvNV(ST(4));
_arg5 = (float ) SvNV(ST(5));
PDF_arc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
XSRETURN(argvi);
}
XS(_wrap_PDF_rect) {
PDF * _arg0;
float _arg1;
float _arg2;
float _arg3;
float _arg4;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 5) || (items > 5))
croak("Usage: PDF_rect(p,x,y,width,height);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_rect. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
_arg4 = (float ) SvNV(ST(4));
PDF_rect(_arg0,_arg1,_arg2,_arg3,_arg4);
XSRETURN(argvi);
}
XS(_wrap_PDF_closepath) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_closepath(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_closepath. Expected PDFPtr.");
XSRETURN(1);
}
PDF_closepath(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_stroke) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_stroke(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_stroke. Expected PDFPtr.");
XSRETURN(1);
}
PDF_stroke(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_closepath_stroke) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_closepath_stroke(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_closepath_stroke. Expected PDFPtr.");
XSRETURN(1);
}
PDF_closepath_stroke(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_fill) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_fill(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_fill. Expected PDFPtr.");
XSRETURN(1);
}
PDF_fill(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_fill_stroke) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_fill_stroke(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_fill_stroke. Expected PDFPtr.");
XSRETURN(1);
}
PDF_fill_stroke(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_closepath_fill_stroke) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_closepath_fill_stroke(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_closepath_fill_stroke. Expected PDFPtr.");
XSRETURN(1);
}
PDF_closepath_fill_stroke(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_endpath) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_endpath(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_endpath. Expected PDFPtr.");
XSRETURN(1);
}
PDF_endpath(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_clip) {
PDF * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_clip(p);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_clip. Expected PDFPtr.");
XSRETURN(1);
}
PDF_clip(_arg0);
XSRETURN(argvi);
}
XS(_wrap_PDF_place_image) {
PDF * _arg0;
PDF_image * _arg1;
float _arg2;
float _arg3;
float _arg4;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 5) || (items > 5))
croak("Usage: PDF_place_image(p,image,x,y,scale);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_place_image. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_image")) {
croak("Type error in argument 2 of PDF_place_image. Expected PDF_image.");
XSRETURN(1);
}
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
_arg4 = (float ) SvNV(ST(4));
PDF_place_image(_arg0,_arg1,_arg2,_arg3,_arg4);
XSRETURN(argvi);
}
XS(_wrap_PDF_place_inline_image) {
PDF * _arg0;
PDF_image * _arg1;
float _arg2;
float _arg3;
float _arg4;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 5) || (items > 5))
croak("Usage: PDF_place_inline_image(p,image,x,y,scale);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_place_inline_image. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_image")) {
croak("Type error in argument 2 of PDF_place_inline_image. Expected PDF_image.");
XSRETURN(1);
}
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
_arg4 = (float ) SvNV(ST(4));
PDF_place_inline_image(_arg0,_arg1,_arg2,_arg3,_arg4);
XSRETURN(argvi);
}
XS(_wrap_PDF_put_image) {
PDF * _arg0;
PDF_image * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_put_image(p,image);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_put_image. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_image")) {
croak("Type error in argument 2 of PDF_put_image. Expected PDF_image.");
XSRETURN(1);
}
PDF_put_image(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_execute_image) {
PDF * _arg0;
PDF_image * _arg1;
float _arg2;
float _arg3;
float _arg4;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 5) || (items > 5))
croak("Usage: PDF_execute_image(p,image,x,y,scale);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_execute_image. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_image")) {
croak("Type error in argument 2 of PDF_execute_image. Expected PDF_image.");
XSRETURN(1);
}
_arg2 = (float ) SvNV(ST(2));
_arg3 = (float ) SvNV(ST(3));
_arg4 = (float ) SvNV(ST(4));
PDF_execute_image(_arg0,_arg1,_arg2,_arg3,_arg4);
XSRETURN(argvi);
}
XS(_wrap_PDF_close_image) {
PDF * _arg0;
PDF_image * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_close_image(p,image);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_close_image. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_image")) {
croak("Type error in argument 2 of PDF_close_image. Expected PDF_image.");
XSRETURN(1);
}
PDF_close_image(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_open_JPEG) {
PDF_image * _result;
PDF * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_open_JPEG(p,filename);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_open_JPEG. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (PDF_image *)PDF_open_JPEG(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"PDF_image", (void *) _result);
XSRETURN(argvi);
}
XS(_wrap_PDF_close_JPEG) {
PDF * _arg0;
PDF_image * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_close_JPEG(p,image);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_close_JPEG. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_image")) {
croak("Type error in argument 2 of PDF_close_JPEG. Expected PDF_image.");
XSRETURN(1);
}
PDF_close_JPEG(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_open_TIFF) {
PDF_image * _result;
PDF * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_open_TIFF(p,filename);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_open_TIFF. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (PDF_image *)PDF_open_TIFF(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"PDF_image", (void *) _result);
XSRETURN(argvi);
}
XS(_wrap_PDF_close_TIFF) {
PDF * _arg0;
PDF_image * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_close_TIFF(p,image);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_close_TIFF. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_image")) {
croak("Type error in argument 2 of PDF_close_TIFF. Expected PDF_image.");
XSRETURN(1);
}
PDF_close_TIFF(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_open_GIF) {
PDF_image * _result;
PDF * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_open_GIF(p,filename);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_open_GIF. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (PDF_image *)PDF_open_GIF(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"PDF_image", (void *) _result);
XSRETURN(argvi);
}
XS(_wrap_PDF_close_GIF) {
PDF * _arg0;
PDF_image * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_close_GIF(p,image);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_close_GIF. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_image")) {
croak("Type error in argument 2 of PDF_close_GIF. Expected PDF_image.");
XSRETURN(1);
}
PDF_close_GIF(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_PDF_data_source_from_buf) {
PDF * _arg0;
PDF_data_source * _arg1;
byte * _arg2;
long _arg3;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 4) || (items > 4))
croak("Usage: PDF_data_source_from_buf(p,src,buffer,len);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_data_source_from_buf. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_data_sourcePtr")) {
croak("Type error in argument 2 of PDF_data_source_from_buf. Expected PDF_data_sourcePtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(2),(void **) &_arg2,"bytePtr")) {
croak("Type error in argument 3 of PDF_data_source_from_buf. Expected bytePtr.");
XSRETURN(1);
}
_arg3 = (long )SvIV(ST(3));
PDF_data_source_from_buf(_arg0,_arg1,_arg2,_arg3);
XSRETURN(argvi);
}
XS(_wrap_PDF_stringwidth) {
float _result;
PDF * _arg0;
byte * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_stringwidth(p,text);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_stringwidth. Expected PDFPtr.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"bytePtr")) {
croak("Type error in argument 2 of PDF_stringwidth. Expected bytePtr.");
XSRETURN(1);
}
_result = (float )PDF_stringwidth(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
XS(_wrap_PDF_add_outline) {
PDF * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_add_outline(p,text);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDFPtr")) {
croak("Type error in argument 1 of PDF_add_outline. Expected PDFPtr.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
PDF_add_outline(_arg0,_arg1);
XSRETURN(argvi);
}
XS(_wrap_fopen) {
FILE * _result;
char * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: fopen(char *,char *);");
_arg0 = (char *) SvPV(ST(0),na);
_arg1 = (char *) SvPV(ST(1),na);
_result = (FILE *)fopen(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"FILEPtr", (void *) _result);
XSRETURN(argvi);
}
XS(_wrap_fclose) {
FILE * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: fclose(fp);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"FILEPtr")) {
croak("Type error in argument 1 of fclose. Expected FILEPtr.");
XSRETURN(1);
}
fclose(_arg0);
XSRETURN(argvi);
}
#define PDF_pagesize_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
XS(_wrap_PDF_pagesize_width_set) {
float _result;
PDF_pagesize * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_pagesize_width_set(PDF_pagesize *,float );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_pagesize")) {
croak("Type error in argument 1 of PDF_pagesize_width_set. Expected PDF_pagesize.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_result = (float )PDF_pagesize_width_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_pagesize_width_get(_swigobj) ((float ) _swigobj->width)
XS(_wrap_PDF_pagesize_width_get) {
float _result;
PDF_pagesize * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_pagesize_width_get(PDF_pagesize *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_pagesize")) {
croak("Type error in argument 1 of PDF_pagesize_width_get. Expected PDF_pagesize.");
XSRETURN(1);
}
_result = (float )PDF_pagesize_width_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_pagesize_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
XS(_wrap_PDF_pagesize_height_set) {
float _result;
PDF_pagesize * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_pagesize_height_set(PDF_pagesize *,float );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_pagesize")) {
croak("Type error in argument 1 of PDF_pagesize_height_set. Expected PDF_pagesize.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_result = (float )PDF_pagesize_height_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_pagesize_height_get(_swigobj) ((float ) _swigobj->height)
XS(_wrap_PDF_pagesize_height_get) {
float _result;
PDF_pagesize * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_pagesize_height_get(PDF_pagesize *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_pagesize")) {
croak("Type error in argument 1 of PDF_pagesize_height_get. Expected PDF_pagesize.");
XSRETURN(1);
}
_result = (float )PDF_pagesize_height_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_info_binary_mode_set(_swigobj,_swigval) (_swigobj->binary_mode = _swigval,_swigval)
XS(_wrap_PDF_info_binary_mode_set) {
bool _result;
PDF_info * _arg0;
bool _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_binary_mode_set(PDF_info *,bool );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_binary_mode_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (bool )SvIV(ST(1));
_result = (bool )PDF_info_binary_mode_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_info_binary_mode_get(_swigobj) ((bool ) _swigobj->binary_mode)
XS(_wrap_PDF_info_binary_mode_get) {
bool _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_binary_mode_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_binary_mode_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (bool )PDF_info_binary_mode_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_info_required_compatibility_set(_swigobj,_swigval) (_swigobj->required_compatibility = _swigval,_swigval)
XS(_wrap_PDF_info_required_compatibility_set) {
PDF_compat_mode _result;
PDF_info * _arg0;
PDF_compat_mode _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_required_compatibility_set(PDF_info *,PDF_compat_mode );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_required_compatibility_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (PDF_compat_mode )SvIV(ST(1));
_result = (PDF_compat_mode )PDF_info_required_compatibility_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_info_required_compatibility_get(_swigobj) ((PDF_compat_mode ) _swigobj->required_compatibility)
XS(_wrap_PDF_info_required_compatibility_get) {
PDF_compat_mode _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_required_compatibility_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_required_compatibility_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (PDF_compat_mode )PDF_info_required_compatibility_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
static char * PDF_info_Keywords_set(PDF_info *obj, char *val) {
if (obj->Keywords) free(obj->Keywords);
obj->Keywords = (char *) malloc(strlen(val)+1);
strcpy(obj->Keywords,val);
return val;
}
XS(_wrap_PDF_info_Keywords_set) {
char * _result;
PDF_info * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_Keywords_set(PDF_info *,char *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Keywords_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (char *)PDF_info_Keywords_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_info_Keywords_get(_swigobj) ((char *) _swigobj->Keywords)
XS(_wrap_PDF_info_Keywords_get) {
char * _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_Keywords_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Keywords_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (char *)PDF_info_Keywords_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
static char * PDF_info_Subject_set(PDF_info *obj, char *val) {
if (obj->Subject) free(obj->Subject);
obj->Subject = (char *) malloc(strlen(val)+1);
strcpy(obj->Subject,val);
return val;
}
XS(_wrap_PDF_info_Subject_set) {
char * _result;
PDF_info * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_Subject_set(PDF_info *,char *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Subject_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (char *)PDF_info_Subject_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_info_Subject_get(_swigobj) ((char *) _swigobj->Subject)
XS(_wrap_PDF_info_Subject_get) {
char * _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_Subject_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Subject_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (char *)PDF_info_Subject_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
static char * PDF_info_ModDate_set(PDF_info *obj, char *val) {
if (obj->ModDate) free(obj->ModDate);
obj->ModDate = (char *) malloc(strlen(val)+1);
strcpy(obj->ModDate,val);
return val;
}
XS(_wrap_PDF_info_ModDate_set) {
char * _result;
PDF_info * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_ModDate_set(PDF_info *,char *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_ModDate_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (char *)PDF_info_ModDate_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_info_ModDate_get(_swigobj) ((char *) _swigobj->ModDate)
XS(_wrap_PDF_info_ModDate_get) {
char * _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_ModDate_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_ModDate_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (char *)PDF_info_ModDate_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
static char * PDF_info_Title_set(PDF_info *obj, char *val) {
if (obj->Title) free(obj->Title);
obj->Title = (char *) malloc(strlen(val)+1);
strcpy(obj->Title,val);
return val;
}
XS(_wrap_PDF_info_Title_set) {
char * _result;
PDF_info * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_Title_set(PDF_info *,char *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Title_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (char *)PDF_info_Title_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_info_Title_get(_swigobj) ((char *) _swigobj->Title)
XS(_wrap_PDF_info_Title_get) {
char * _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_Title_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Title_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (char *)PDF_info_Title_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
static char * PDF_info_CreationDate_set(PDF_info *obj, char *val) {
if (obj->CreationDate) free(obj->CreationDate);
obj->CreationDate = (char *) malloc(strlen(val)+1);
strcpy(obj->CreationDate,val);
return val;
}
XS(_wrap_PDF_info_CreationDate_set) {
char * _result;
PDF_info * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_CreationDate_set(PDF_info *,char *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_CreationDate_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (char *)PDF_info_CreationDate_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_info_CreationDate_get(_swigobj) ((char *) _swigobj->CreationDate)
XS(_wrap_PDF_info_CreationDate_get) {
char * _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_CreationDate_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_CreationDate_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (char *)PDF_info_CreationDate_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
static char * PDF_info_Creator_set(PDF_info *obj, char *val) {
if (obj->Creator) free(obj->Creator);
obj->Creator = (char *) malloc(strlen(val)+1);
strcpy(obj->Creator,val);
return val;
}
XS(_wrap_PDF_info_Creator_set) {
char * _result;
PDF_info * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_Creator_set(PDF_info *,char *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Creator_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (char *)PDF_info_Creator_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_info_Creator_get(_swigobj) ((char *) _swigobj->Creator)
XS(_wrap_PDF_info_Creator_get) {
char * _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_Creator_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Creator_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (char *)PDF_info_Creator_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
static char * PDF_info_Author_set(PDF_info *obj, char *val) {
if (obj->Author) free(obj->Author);
obj->Author = (char *) malloc(strlen(val)+1);
strcpy(obj->Author,val);
return val;
}
XS(_wrap_PDF_info_Author_set) {
char * _result;
PDF_info * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_Author_set(PDF_info *,char *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Author_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (char *)PDF_info_Author_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_info_Author_get(_swigobj) ((char *) _swigobj->Author)
XS(_wrap_PDF_info_Author_get) {
char * _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_Author_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_Author_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (char *)PDF_info_Author_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
static char * PDF_info_fontpath_set(PDF_info *obj, char *val) {
if (obj->fontpath) free(obj->fontpath);
obj->fontpath = (char *) malloc(strlen(val)+1);
strcpy(obj->fontpath,val);
return val;
}
XS(_wrap_PDF_info_fontpath_set) {
char * _result;
PDF_info * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_info_fontpath_set(PDF_info *,char *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_fontpath_set. Expected PDF_info.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (char *)PDF_info_fontpath_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_info_fontpath_get(_swigobj) ((char *) _swigobj->fontpath)
XS(_wrap_PDF_info_fontpath_get) {
char * _result;
PDF_info * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_info_fontpath_get(PDF_info *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_info")) {
croak("Type error in argument 1 of PDF_info_fontpath_get. Expected PDF_info.");
XSRETURN(1);
}
_result = (char *)PDF_info_fontpath_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_matrix_a_set(_swigobj,_swigval) (_swigobj->a = _swigval,_swigval)
XS(_wrap_PDF_matrix_a_set) {
float _result;
PDF_matrix * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_matrix_a_set(PDF_matrix *,float );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_a_set. Expected PDF_matrix.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_result = (float )PDF_matrix_a_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_a_get(_swigobj) ((float ) _swigobj->a)
XS(_wrap_PDF_matrix_a_get) {
float _result;
PDF_matrix * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_matrix_a_get(PDF_matrix *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_a_get. Expected PDF_matrix.");
XSRETURN(1);
}
_result = (float )PDF_matrix_a_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_b_set(_swigobj,_swigval) (_swigobj->b = _swigval,_swigval)
XS(_wrap_PDF_matrix_b_set) {
float _result;
PDF_matrix * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_matrix_b_set(PDF_matrix *,float );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_b_set. Expected PDF_matrix.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_result = (float )PDF_matrix_b_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_b_get(_swigobj) ((float ) _swigobj->b)
XS(_wrap_PDF_matrix_b_get) {
float _result;
PDF_matrix * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_matrix_b_get(PDF_matrix *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_b_get. Expected PDF_matrix.");
XSRETURN(1);
}
_result = (float )PDF_matrix_b_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_c_set(_swigobj,_swigval) (_swigobj->c = _swigval,_swigval)
XS(_wrap_PDF_matrix_c_set) {
float _result;
PDF_matrix * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_matrix_c_set(PDF_matrix *,float );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_c_set. Expected PDF_matrix.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_result = (float )PDF_matrix_c_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_c_get(_swigobj) ((float ) _swigobj->c)
XS(_wrap_PDF_matrix_c_get) {
float _result;
PDF_matrix * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_matrix_c_get(PDF_matrix *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_c_get. Expected PDF_matrix.");
XSRETURN(1);
}
_result = (float )PDF_matrix_c_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_d_set(_swigobj,_swigval) (_swigobj->d = _swigval,_swigval)
XS(_wrap_PDF_matrix_d_set) {
float _result;
PDF_matrix * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_matrix_d_set(PDF_matrix *,float );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_d_set. Expected PDF_matrix.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_result = (float )PDF_matrix_d_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_d_get(_swigobj) ((float ) _swigobj->d)
XS(_wrap_PDF_matrix_d_get) {
float _result;
PDF_matrix * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_matrix_d_get(PDF_matrix *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_d_get. Expected PDF_matrix.");
XSRETURN(1);
}
_result = (float )PDF_matrix_d_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_e_set(_swigobj,_swigval) (_swigobj->e = _swigval,_swigval)
XS(_wrap_PDF_matrix_e_set) {
float _result;
PDF_matrix * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_matrix_e_set(PDF_matrix *,float );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_e_set. Expected PDF_matrix.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_result = (float )PDF_matrix_e_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_e_get(_swigobj) ((float ) _swigobj->e)
XS(_wrap_PDF_matrix_e_get) {
float _result;
PDF_matrix * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_matrix_e_get(PDF_matrix *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_e_get. Expected PDF_matrix.");
XSRETURN(1);
}
_result = (float )PDF_matrix_e_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_f_set(_swigobj,_swigval) (_swigobj->f = _swigval,_swigval)
XS(_wrap_PDF_matrix_f_set) {
float _result;
PDF_matrix * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_matrix_f_set(PDF_matrix *,float );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_f_set. Expected PDF_matrix.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_result = (float )PDF_matrix_f_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_matrix_f_get(_swigobj) ((float ) _swigobj->f)
XS(_wrap_PDF_matrix_f_get) {
float _result;
PDF_matrix * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_matrix_f_get(PDF_matrix *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_matrix")) {
croak("Type error in argument 1 of PDF_matrix_f_get. Expected PDF_matrix.");
XSRETURN(1);
}
_result = (float )PDF_matrix_f_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_next_byte_set(_swigobj,_swigval) (_swigobj->next_byte = _swigval,_swigval)
XS(_wrap_PDF_data_source_s_next_byte_set) {
byte * _result;
struct PDF_data_source_s * _arg0;
byte * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_data_source_s_next_byte_set(struct PDF_data_source_s *,byte *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_next_byte_set. Expected PDF_data_source_s.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"bytePtr")) {
croak("Type error in argument 2 of PDF_data_source_s_next_byte_set. Expected bytePtr.");
XSRETURN(1);
}
_result = (byte *)PDF_data_source_s_next_byte_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"bytePtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_next_byte_get(_swigobj) ((byte *) _swigobj->next_byte)
XS(_wrap_PDF_data_source_s_next_byte_get) {
byte * _result;
struct PDF_data_source_s * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_data_source_s_next_byte_get(struct PDF_data_source_s *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_next_byte_get. Expected PDF_data_source_s.");
XSRETURN(1);
}
_result = (byte *)PDF_data_source_s_next_byte_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"bytePtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_bytes_available_set(_swigobj,_swigval) (_swigobj->bytes_available = *(_swigval),_swigval)
XS(_wrap_PDF_data_source_s_bytes_available_set) {
size_t * _result;
struct PDF_data_source_s * _arg0;
size_t * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_data_source_s_bytes_available_set(struct PDF_data_source_s *,size_t *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_bytes_available_set. Expected PDF_data_source_s.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"size_tPtr")) {
croak("Type error in argument 2 of PDF_data_source_s_bytes_available_set. Expected size_tPtr.");
XSRETURN(1);
}
_result = (size_t *)PDF_data_source_s_bytes_available_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"size_tPtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_bytes_available_get(_swigobj) (&_swigobj->bytes_available)
XS(_wrap_PDF_data_source_s_bytes_available_get) {
size_t * _result;
struct PDF_data_source_s * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_data_source_s_bytes_available_get(struct PDF_data_source_s *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_bytes_available_get. Expected PDF_data_source_s.");
XSRETURN(1);
}
_result = (size_t *)PDF_data_source_s_bytes_available_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"size_tPtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_buffer_start_set(_swigobj,_swigval) (_swigobj->buffer_start = _swigval,_swigval)
XS(_wrap_PDF_data_source_s_buffer_start_set) {
byte * _result;
struct PDF_data_source_s * _arg0;
byte * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_data_source_s_buffer_start_set(struct PDF_data_source_s *,byte *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_buffer_start_set. Expected PDF_data_source_s.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"bytePtr")) {
croak("Type error in argument 2 of PDF_data_source_s_buffer_start_set. Expected bytePtr.");
XSRETURN(1);
}
_result = (byte *)PDF_data_source_s_buffer_start_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"bytePtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_buffer_start_get(_swigobj) ((byte *) _swigobj->buffer_start)
XS(_wrap_PDF_data_source_s_buffer_start_get) {
byte * _result;
struct PDF_data_source_s * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_data_source_s_buffer_start_get(struct PDF_data_source_s *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_buffer_start_get. Expected PDF_data_source_s.");
XSRETURN(1);
}
_result = (byte *)PDF_data_source_s_buffer_start_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"bytePtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_buffer_length_set(_swigobj,_swigval) (_swigobj->buffer_length = *(_swigval),_swigval)
XS(_wrap_PDF_data_source_s_buffer_length_set) {
size_t * _result;
struct PDF_data_source_s * _arg0;
size_t * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_data_source_s_buffer_length_set(struct PDF_data_source_s *,size_t *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_buffer_length_set. Expected PDF_data_source_s.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"size_tPtr")) {
croak("Type error in argument 2 of PDF_data_source_s_buffer_length_set. Expected size_tPtr.");
XSRETURN(1);
}
_result = (size_t *)PDF_data_source_s_buffer_length_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"size_tPtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_buffer_length_get(_swigobj) (&_swigobj->buffer_length)
XS(_wrap_PDF_data_source_s_buffer_length_get) {
size_t * _result;
struct PDF_data_source_s * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_data_source_s_buffer_length_get(struct PDF_data_source_s *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_buffer_length_get. Expected PDF_data_source_s.");
XSRETURN(1);
}
_result = (size_t *)PDF_data_source_s_buffer_length_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"size_tPtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_private_data_set(_swigobj,_swigval) (_swigobj->private_data = _swigval,_swigval)
XS(_wrap_PDF_data_source_s_private_data_set) {
byte * _result;
struct PDF_data_source_s * _arg0;
byte * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_data_source_s_private_data_set(struct PDF_data_source_s *,byte *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_private_data_set. Expected PDF_data_source_s.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"bytePtr")) {
croak("Type error in argument 2 of PDF_data_source_s_private_data_set. Expected bytePtr.");
XSRETURN(1);
}
_result = (byte *)PDF_data_source_s_private_data_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"bytePtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_data_source_s_private_data_get(_swigobj) ((byte *) _swigobj->private_data)
XS(_wrap_PDF_data_source_s_private_data_get) {
byte * _result;
struct PDF_data_source_s * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_data_source_s_private_data_get(struct PDF_data_source_s *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_data_source_s")) {
croak("Type error in argument 1 of PDF_data_source_s_private_data_get. Expected PDF_data_source_s.");
XSRETURN(1);
}
_result = (byte *)PDF_data_source_s_private_data_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"bytePtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_image_t_fp_set(_swigobj,_swigval) (_swigobj->fp = _swigval,_swigval)
XS(_wrap_PDF_image_fp_set) {
FILE * _result;
PDF_image * _arg0;
FILE * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_fp_set(PDF_image *,FILE *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_fp_set. Expected PDF_image.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"FILEPtr")) {
croak("Type error in argument 2 of PDF_image_fp_set. Expected FILEPtr.");
XSRETURN(1);
}
_result = (FILE *)PDF_image_t_fp_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"FILEPtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_image_t_fp_get(_swigobj) ((FILE *) _swigobj->fp)
XS(_wrap_PDF_image_fp_get) {
FILE * _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_fp_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_fp_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (FILE *)PDF_image_t_fp_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"FILEPtr", (void *) _result);
XSRETURN(argvi);
}
static char * PDF_image_t_filename_set(PDF_image *obj, char *val) {
if (obj->filename) free(obj->filename);
obj->filename = (char *) malloc(strlen(val)+1);
strcpy(obj->filename,val);
return val;
}
XS(_wrap_PDF_image_filename_set) {
char * _result;
PDF_image * _arg0;
char * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_filename_set(PDF_image *,char *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_filename_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (char *) SvPV(ST(1),na);
_result = (char *)PDF_image_t_filename_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_image_t_filename_get(_swigobj) ((char *) _swigobj->filename)
XS(_wrap_PDF_image_filename_get) {
char * _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_filename_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_filename_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (char *)PDF_image_t_filename_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setpv((SV*)ST(argvi++),(char *) _result);
XSRETURN(argvi);
}
#define PDF_image_t_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
XS(_wrap_PDF_image_width_set) {
unsigned int _result;
PDF_image * _arg0;
unsigned int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_width_set(PDF_image *,unsigned int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_width_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (unsigned int )SvIV(ST(1));
_result = (unsigned int )PDF_image_t_width_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_width_get(_swigobj) ((unsigned int ) _swigobj->width)
XS(_wrap_PDF_image_width_get) {
unsigned int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_width_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_width_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (unsigned int )PDF_image_t_width_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
XS(_wrap_PDF_image_height_set) {
unsigned int _result;
PDF_image * _arg0;
unsigned int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_height_set(PDF_image *,unsigned int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_height_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (unsigned int )SvIV(ST(1));
_result = (unsigned int )PDF_image_t_height_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_height_get(_swigobj) ((unsigned int ) _swigobj->height)
XS(_wrap_PDF_image_height_get) {
unsigned int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_height_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_height_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (unsigned int )PDF_image_t_height_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_bpc_set(_swigobj,_swigval) (_swigobj->bpc = _swigval,_swigval)
XS(_wrap_PDF_image_bpc_set) {
int _result;
PDF_image * _arg0;
int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_bpc_set(PDF_image *,int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_bpc_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (int )SvIV(ST(1));
_result = (int )PDF_image_t_bpc_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_bpc_get(_swigobj) ((int ) _swigobj->bpc)
XS(_wrap_PDF_image_bpc_get) {
int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_bpc_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_bpc_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (int )PDF_image_t_bpc_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_components_set(_swigobj,_swigval) (_swigobj->components = _swigval,_swigval)
XS(_wrap_PDF_image_components_set) {
unsigned int _result;
PDF_image * _arg0;
unsigned int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_components_set(PDF_image *,unsigned int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_components_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (unsigned int )SvIV(ST(1));
_result = (unsigned int )PDF_image_t_components_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_components_get(_swigobj) ((unsigned int ) _swigobj->components)
XS(_wrap_PDF_image_components_get) {
unsigned int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_components_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_components_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (unsigned int )PDF_image_t_components_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_compression_set(_swigobj,_swigval) (_swigobj->compression = _swigval,_swigval)
XS(_wrap_PDF_image_compression_set) {
PDF_compression _result;
PDF_image * _arg0;
PDF_compression _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_compression_set(PDF_image *,PDF_compression );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_compression_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (PDF_compression )SvIV(ST(1));
_result = (PDF_compression )PDF_image_t_compression_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_compression_get(_swigobj) ((PDF_compression ) _swigobj->compression)
XS(_wrap_PDF_image_compression_get) {
PDF_compression _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_compression_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_compression_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (PDF_compression )PDF_image_t_compression_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_colorspace_set(_swigobj,_swigval) (_swigobj->colorspace = _swigval,_swigval)
XS(_wrap_PDF_image_colorspace_set) {
PDF_colorspace _result;
PDF_image * _arg0;
PDF_colorspace _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_colorspace_set(PDF_image *,PDF_colorspace );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_colorspace_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (PDF_colorspace )SvIV(ST(1));
_result = (PDF_colorspace )PDF_image_t_colorspace_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_colorspace_get(_swigobj) ((PDF_colorspace ) _swigobj->colorspace)
XS(_wrap_PDF_image_colorspace_get) {
PDF_colorspace _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_colorspace_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_colorspace_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (PDF_colorspace )PDF_image_t_colorspace_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_indexed_set(_swigobj,_swigval) (_swigobj->indexed = _swigval,_swigval)
XS(_wrap_PDF_image_indexed_set) {
bool _result;
PDF_image * _arg0;
bool _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_indexed_set(PDF_image *,bool );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_indexed_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (bool )SvIV(ST(1));
_result = (bool )PDF_image_t_indexed_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_indexed_get(_swigobj) ((bool ) _swigobj->indexed)
XS(_wrap_PDF_image_indexed_get) {
bool _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_indexed_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_indexed_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (bool )PDF_image_t_indexed_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_BitPixel_set(_swigobj,_swigval) (_swigobj->BitPixel = _swigval,_swigval)
XS(_wrap_PDF_image_BitPixel_set) {
unsigned int _result;
PDF_image * _arg0;
unsigned int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_BitPixel_set(PDF_image *,unsigned int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_BitPixel_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (unsigned int )SvIV(ST(1));
_result = (unsigned int )PDF_image_t_BitPixel_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_BitPixel_get(_swigobj) ((unsigned int ) _swigobj->BitPixel)
XS(_wrap_PDF_image_BitPixel_get) {
unsigned int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_BitPixel_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_BitPixel_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (unsigned int )PDF_image_t_BitPixel_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_colormap_get(_swigobj) ((byte *) _swigobj->colormap)
XS(_wrap_PDF_image_colormap_get) {
byte * _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_colormap_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_colormap_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (byte *)PDF_image_t_colormap_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"pdf_colormap", (void *) _result);
XSRETURN(argvi);
}
#define PDF_image_t_adobe_set(_swigobj,_swigval) (_swigobj->adobe = _swigval,_swigval)
XS(_wrap_PDF_image_adobe_set) {
bool _result;
PDF_image * _arg0;
bool _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_adobe_set(PDF_image *,bool );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_adobe_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (bool )SvIV(ST(1));
_result = (bool )PDF_image_t_adobe_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_adobe_get(_swigobj) ((bool ) _swigobj->adobe)
XS(_wrap_PDF_image_adobe_get) {
bool _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_adobe_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_adobe_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (bool )PDF_image_t_adobe_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_startpos_set(_swigobj,_swigval) (_swigobj->startpos = _swigval,_swigval)
XS(_wrap_PDF_image_startpos_set) {
long _result;
PDF_image * _arg0;
long _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_startpos_set(PDF_image *,long );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_startpos_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (long )SvIV(ST(1));
_result = (long )PDF_image_t_startpos_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_startpos_get(_swigobj) ((long ) _swigobj->startpos)
XS(_wrap_PDF_image_startpos_get) {
long _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_startpos_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_startpos_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (long )PDF_image_t_startpos_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_dpi_set(_swigobj,_swigval) (_swigobj->dpi = _swigval,_swigval)
XS(_wrap_PDF_image_dpi_set) {
float _result;
PDF_image * _arg0;
float _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_dpi_set(PDF_image *,float );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_dpi_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (float ) SvNV(ST(1));
_result = (float )PDF_image_t_dpi_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_image_t_dpi_get(_swigobj) ((float ) _swigobj->dpi)
XS(_wrap_PDF_image_dpi_get) {
float _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_dpi_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_dpi_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (float )PDF_image_t_dpi_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setnv(ST(argvi++), (double) _result);
XSRETURN(argvi);
}
#define PDF_image_t_Background_set(_swigobj,_swigval) (_swigobj->Background = _swigval,_swigval)
XS(_wrap_PDF_image_Background_set) {
unsigned int _result;
PDF_image * _arg0;
unsigned int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_Background_set(PDF_image *,unsigned int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_Background_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (unsigned int )SvIV(ST(1));
_result = (unsigned int )PDF_image_t_Background_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_Background_get(_swigobj) ((unsigned int ) _swigobj->Background)
XS(_wrap_PDF_image_Background_get) {
unsigned int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_Background_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_Background_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (unsigned int )PDF_image_t_Background_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_transparent_set(_swigobj,_swigval) (_swigobj->transparent = _swigval,_swigval)
XS(_wrap_PDF_image_transparent_set) {
int _result;
PDF_image * _arg0;
int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_transparent_set(PDF_image *,int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_transparent_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (int )SvIV(ST(1));
_result = (int )PDF_image_t_transparent_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_transparent_get(_swigobj) ((int ) _swigobj->transparent)
XS(_wrap_PDF_image_transparent_get) {
int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_transparent_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_transparent_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (int )PDF_image_t_transparent_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_delayTime_set(_swigobj,_swigval) (_swigobj->delayTime = _swigval,_swigval)
XS(_wrap_PDF_image_delayTime_set) {
int _result;
PDF_image * _arg0;
int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_delayTime_set(PDF_image *,int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_delayTime_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (int )SvIV(ST(1));
_result = (int )PDF_image_t_delayTime_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_delayTime_get(_swigobj) ((int ) _swigobj->delayTime)
XS(_wrap_PDF_image_delayTime_get) {
int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_delayTime_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_delayTime_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (int )PDF_image_t_delayTime_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_inputFlag_set(_swigobj,_swigval) (_swigobj->inputFlag = _swigval,_swigval)
XS(_wrap_PDF_image_inputFlag_set) {
int _result;
PDF_image * _arg0;
int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_inputFlag_set(PDF_image *,int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_inputFlag_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (int )SvIV(ST(1));
_result = (int )PDF_image_t_inputFlag_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_inputFlag_get(_swigobj) ((int ) _swigobj->inputFlag)
XS(_wrap_PDF_image_inputFlag_get) {
int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_inputFlag_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_inputFlag_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (int )PDF_image_t_inputFlag_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_disposal_set(_swigobj,_swigval) (_swigobj->disposal = _swigval,_swigval)
XS(_wrap_PDF_image_disposal_set) {
int _result;
PDF_image * _arg0;
int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_disposal_set(PDF_image *,int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_disposal_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (int )SvIV(ST(1));
_result = (int )PDF_image_t_disposal_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_disposal_get(_swigobj) ((int ) _swigobj->disposal)
XS(_wrap_PDF_image_disposal_get) {
int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_disposal_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_disposal_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (int )PDF_image_t_disposal_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_useGlobalColormap_set(_swigobj,_swigval) (_swigobj->useGlobalColormap = _swigval,_swigval)
XS(_wrap_PDF_image_useGlobalColormap_set) {
int _result;
PDF_image * _arg0;
int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_useGlobalColormap_set(PDF_image *,int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_useGlobalColormap_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (int )SvIV(ST(1));
_result = (int )PDF_image_t_useGlobalColormap_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_useGlobalColormap_get(_swigobj) ((int ) _swigobj->useGlobalColormap)
XS(_wrap_PDF_image_useGlobalColormap_get) {
int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_useGlobalColormap_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_useGlobalColormap_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (int )PDF_image_t_useGlobalColormap_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_bitPixel_set(_swigobj,_swigval) (_swigobj->bitPixel = _swigval,_swigval)
XS(_wrap_PDF_image_bitPixel_set) {
unsigned int _result;
PDF_image * _arg0;
unsigned int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_bitPixel_set(PDF_image *,unsigned int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_bitPixel_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (unsigned int )SvIV(ST(1));
_result = (unsigned int )PDF_image_t_bitPixel_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_bitPixel_get(_swigobj) ((unsigned int ) _swigobj->bitPixel)
XS(_wrap_PDF_image_bitPixel_get) {
unsigned int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_bitPixel_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_bitPixel_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (unsigned int )PDF_image_t_bitPixel_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_interlace_set(_swigobj,_swigval) (_swigobj->interlace = _swigval,_swigval)
XS(_wrap_PDF_image_interlace_set) {
bool _result;
PDF_image * _arg0;
bool _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_interlace_set(PDF_image *,bool );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_interlace_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (bool )SvIV(ST(1));
_result = (bool )PDF_image_t_interlace_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_interlace_get(_swigobj) ((bool ) _swigobj->interlace)
XS(_wrap_PDF_image_interlace_get) {
bool _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_interlace_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_interlace_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (bool )PDF_image_t_interlace_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_imageno_set(_swigobj,_swigval) (_swigobj->imageno = _swigval,_swigval)
XS(_wrap_PDF_image_imageno_set) {
int _result;
PDF_image * _arg0;
int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_imageno_set(PDF_image *,int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_imageno_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (int )SvIV(ST(1));
_result = (int )PDF_image_t_imageno_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_imageno_get(_swigobj) ((int ) _swigobj->imageno)
XS(_wrap_PDF_image_imageno_get) {
int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_imageno_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_imageno_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (int )PDF_image_t_imageno_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_no_set(_swigobj,_swigval) (_swigobj->no = _swigval,_swigval)
XS(_wrap_PDF_image_no_set) {
int _result;
PDF_image * _arg0;
int _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_no_set(PDF_image *,int );");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_no_set. Expected PDF_image.");
XSRETURN(1);
}
_arg1 = (int )SvIV(ST(1));
_result = (int )PDF_image_t_no_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_no_get(_swigobj) ((int ) _swigobj->no)
XS(_wrap_PDF_image_no_get) {
int _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_no_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_no_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (int )PDF_image_t_no_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setiv(ST(argvi++),(IV) _result);
XSRETURN(argvi);
}
#define PDF_image_t_src_set(_swigobj,_swigval) (_swigobj->src = *(_swigval),_swigval)
XS(_wrap_PDF_image_src_set) {
PDF_data_source * _result;
PDF_image * _arg0;
PDF_data_source * _arg1;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 2) || (items > 2))
croak("Usage: PDF_image_src_set(PDF_image *,PDF_data_source *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_src_set. Expected PDF_image.");
XSRETURN(1);
}
if (SWIG_GetPtr(ST(1),(void **) &_arg1,"PDF_data_sourcePtr")) {
croak("Type error in argument 2 of PDF_image_src_set. Expected PDF_data_sourcePtr.");
XSRETURN(1);
}
_result = (PDF_data_source *)PDF_image_t_src_set(_arg0,_arg1);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"PDF_data_sourcePtr", (void *) _result);
XSRETURN(argvi);
}
#define PDF_image_t_src_get(_swigobj) (&_swigobj->src)
XS(_wrap_PDF_image_src_get) {
PDF_data_source * _result;
PDF_image * _arg0;
int argvi = 0;
dXSARGS ;
cv = cv;
if ((items < 1) || (items > 1))
croak("Usage: PDF_image_src_get(PDF_image *);");
if (SWIG_GetPtr(ST(0),(void **) &_arg0,"PDF_image")) {
croak("Type error in argument 1 of PDF_image_src_get. Expected PDF_image.");
XSRETURN(1);
}
_result = (PDF_data_source *)PDF_image_t_src_get(_arg0);
ST(argvi) = sv_newmortal();
sv_setref_pv(ST(argvi++),"PDF_data_sourcePtr", (void *) _result);
XSRETURN(argvi);
}
XS(_wrap_perl5_pdflib_var_init) {
dXSARGS;
SV *sv;
cv = cv; items = items;
swig_setpv("PDFLIB_VERSION", "PDFlib V0.6 (C) Thomas Merz 1997-98");
swig_setpv("PDF_DEFAULT_FONT_PATH", "./fonts");
swig_setiv("false", (long) 0);
swig_setiv("true", (long) 1);
swig_setiv("PDF_INFO", (long) 1);
swig_setiv("PDF_WARN", (long) 2);
swig_setiv("PDF_FATAL", (long) 3);
swig_setiv("PDF_INTERNAL", (long) 4);
swig_setiv("PDF1_0", (long) PDF1_0);
swig_setiv("PDF1_1", (long) PDF1_1);
swig_setiv("PDF1_2", (long) PDF1_2);
swig_setiv("builtin", (long) builtin);
swig_setiv("pdfdoc", (long) pdfdoc);
swig_setiv("macroman", (long) macroman);
swig_setiv("macexpert", (long) macexpert);
swig_setiv("winansi", (long) winansi);
swig_setiv("encoding_count", (long) encoding_count);
swig_setiv("none", (long) none);
swig_setiv("lzw", (long) lzw);
swig_setiv("runlength", (long) runlength);
swig_setiv("ccitt", (long) ccitt);
swig_setiv("dct", (long) dct);
swig_setiv("flate", (long) flate);
swig_setiv("compression_count", (long) compression_count);
swig_setiv("trans_none", (long) trans_none);
swig_setiv("trans_split", (long) trans_split);
swig_setiv("trans_blinds", (long) trans_blinds);
swig_setiv("trans_box", (long) trans_box);
swig_setiv("trans_wipe", (long) trans_wipe);
swig_setiv("trans_dissolve", (long) trans_dissolve);
swig_setiv("trans_glitter", (long) trans_glitter);
swig_setiv("trans_replace", (long) trans_replace);
swig_setiv("transition_count", (long) transition_count);
swig_setiv("DeviceGray", (long) DeviceGray);
swig_setiv("DeviceRGB", (long) DeviceRGB);
swig_setiv("DeviceCMYK", (long) DeviceCMYK);
swig_setiv("CalGray", (long) CalGray);
swig_setiv("CalRGB", (long) CalRGB);
swig_setiv("Lab", (long) Lab);
swig_setiv("Indexed", (long) Indexed);
swig_setiv("Pattern", (long) Pattern);
swig_setiv("Separation", (long) Separation);
swig_setiv("colorspace_count", (long) colorspace_count);
sv = perl_get_sv("a0",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &a0);
swig_create_magic(sv,"a0", MAGIC_CAST MAGIC_CLASS _wrap_set_a0, MAGIC_CAST MAGIC_CLASS _wrap_val_a0);
sv = perl_get_sv("a1",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &a1);
swig_create_magic(sv,"a1", MAGIC_CAST MAGIC_CLASS _wrap_set_a1, MAGIC_CAST MAGIC_CLASS _wrap_val_a1);
sv = perl_get_sv("a2",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &a2);
swig_create_magic(sv,"a2", MAGIC_CAST MAGIC_CLASS _wrap_set_a2, MAGIC_CAST MAGIC_CLASS _wrap_val_a2);
sv = perl_get_sv("a3",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &a3);
swig_create_magic(sv,"a3", MAGIC_CAST MAGIC_CLASS _wrap_set_a3, MAGIC_CAST MAGIC_CLASS _wrap_val_a3);
sv = perl_get_sv("a4",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &a4);
swig_create_magic(sv,"a4", MAGIC_CAST MAGIC_CLASS _wrap_set_a4, MAGIC_CAST MAGIC_CLASS _wrap_val_a4);
sv = perl_get_sv("a5",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &a5);
swig_create_magic(sv,"a5", MAGIC_CAST MAGIC_CLASS _wrap_set_a5, MAGIC_CAST MAGIC_CLASS _wrap_val_a5);
sv = perl_get_sv("a6",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &a6);
swig_create_magic(sv,"a6", MAGIC_CAST MAGIC_CLASS _wrap_set_a6, MAGIC_CAST MAGIC_CLASS _wrap_val_a6);
sv = perl_get_sv("b5",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &b5);
swig_create_magic(sv,"b5", MAGIC_CAST MAGIC_CLASS _wrap_set_b5, MAGIC_CAST MAGIC_CLASS _wrap_val_b5);
sv = perl_get_sv("letter",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &letter);
swig_create_magic(sv,"letter", MAGIC_CAST MAGIC_CLASS _wrap_set_letter, MAGIC_CAST MAGIC_CLASS _wrap_val_letter);
sv = perl_get_sv("legal",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &legal);
swig_create_magic(sv,"legal", MAGIC_CAST MAGIC_CLASS _wrap_set_legal, MAGIC_CAST MAGIC_CLASS _wrap_val_legal);
sv = perl_get_sv("ledger",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &ledger);
swig_create_magic(sv,"ledger", MAGIC_CAST MAGIC_CLASS _wrap_set_ledger, MAGIC_CAST MAGIC_CLASS _wrap_val_ledger);
sv = perl_get_sv("p11x17",TRUE | 0x2);
sv_setref_pv(sv,"PDF_pagesize",(void *) &p11x17);
swig_create_magic(sv,"p11x17", MAGIC_CAST MAGIC_CLASS _wrap_set_p11x17, MAGIC_CAST MAGIC_CLASS _wrap_val_p11x17);
swig_setpv("PDF_info_Producer", "PDF_info::Producer");
XSRETURN(1);
}
#ifdef __cplusplus
extern "C"
#endif
XS(boot_pdflib) {
dXSARGS;
char *file = __FILE__;
cv = cv; items = items;
newXS("pdflibc::var_pdflib_init", _wrap_perl5_pdflib_var_init, file);
newXS("pdflibc::PDF_get_info", _wrap_PDF_get_info, file);
newXS("pdflibc::PDF_open", _wrap_PDF_open, file);
newXS("pdflibc::PDF_close", _wrap_PDF_close, file);
newXS("pdflibc::PDF_begin_page", _wrap_PDF_begin_page, file);
newXS("pdflibc::PDF_end_page", _wrap_PDF_end_page, file);
newXS("pdflibc::PDF_set_transition", _wrap_PDF_set_transition, file);
newXS("pdflibc::PDF_set_duration", _wrap_PDF_set_duration, file);
newXS("pdflibc::PDF_malloc", _wrap_PDF_malloc, file);
newXS("pdflibc::PDF_free", _wrap_PDF_free, file);
newXS("pdflibc::PDF_show", _wrap_PDF_show, file);
newXS("pdflibc::PDF_show_xy", _wrap_PDF_show_xy, file);
newXS("pdflibc::PDF_set_font", _wrap_PDF_set_font, file);
newXS("pdflibc::PDF_set_leading", _wrap_PDF_set_leading, file);
newXS("pdflibc::PDF_set_text_rise", _wrap_PDF_set_text_rise, file);
newXS("pdflibc::PDF_set_horiz_scaling", _wrap_PDF_set_horiz_scaling, file);
newXS("pdflibc::PDF_set_text_rendering", _wrap_PDF_set_text_rendering, file);
newXS("pdflibc::PDF_set_text_matrix", _wrap_PDF_set_text_matrix, file);
newXS("pdflibc::PDF_set_text_pos", _wrap_PDF_set_text_pos, file);
newXS("pdflibc::PDF_set_char_spacing", _wrap_PDF_set_char_spacing, file);
newXS("pdflibc::PDF_set_word_spacing", _wrap_PDF_set_word_spacing, file);
newXS("pdflibc::PDF_continue_text", _wrap_PDF_continue_text, file);
newXS("pdflibc::PDF_save", _wrap_PDF_save, file);
newXS("pdflibc::PDF_restore", _wrap_PDF_restore, file);
newXS("pdflibc::PDF_translate", _wrap_PDF_translate, file);
newXS("pdflibc::PDF_scale", _wrap_PDF_scale, file);
newXS("pdflibc::PDF_rotate", _wrap_PDF_rotate, file);
newXS("pdflibc::PDF_setdash", _wrap_PDF_setdash, file);
newXS("pdflibc::PDF_setpolydash", _wrap_PDF_setpolydash, file);
newXS("pdflibc::PDF_setflat", _wrap_PDF_setflat, file);
newXS("pdflibc::PDF_setlinejoin", _wrap_PDF_setlinejoin, file);
newXS("pdflibc::PDF_setlinecap", _wrap_PDF_setlinecap, file);
newXS("pdflibc::PDF_setmiterlimit", _wrap_PDF_setmiterlimit, file);
newXS("pdflibc::PDF_setlinewidth", _wrap_PDF_setlinewidth, file);
newXS("pdflibc::PDF_setgray_fill", _wrap_PDF_setgray_fill, file);
newXS("pdflibc::PDF_setgray_stroke", _wrap_PDF_setgray_stroke, file);
newXS("pdflibc::PDF_setgray", _wrap_PDF_setgray, file);
newXS("pdflibc::PDF_setrgbcolor_fill", _wrap_PDF_setrgbcolor_fill, file);
newXS("pdflibc::PDF_setrgbcolor_stroke", _wrap_PDF_setrgbcolor_stroke, file);
newXS("pdflibc::PDF_setrgbcolor", _wrap_PDF_setrgbcolor, file);
newXS("pdflibc::PDF_moveto", _wrap_PDF_moveto, file);
newXS("pdflibc::PDF_lineto", _wrap_PDF_lineto, file);
newXS("pdflibc::PDF_curveto", _wrap_PDF_curveto, file);
newXS("pdflibc::PDF_circle", _wrap_PDF_circle, file);
newXS("pdflibc::PDF_arc", _wrap_PDF_arc, file);
newXS("pdflibc::PDF_rect", _wrap_PDF_rect, file);
newXS("pdflibc::PDF_closepath", _wrap_PDF_closepath, file);
newXS("pdflibc::PDF_stroke", _wrap_PDF_stroke, file);
newXS("pdflibc::PDF_closepath_stroke", _wrap_PDF_closepath_stroke, file);
newXS("pdflibc::PDF_fill", _wrap_PDF_fill, file);
newXS("pdflibc::PDF_fill_stroke", _wrap_PDF_fill_stroke, file);
newXS("pdflibc::PDF_closepath_fill_stroke", _wrap_PDF_closepath_fill_stroke, file);
newXS("pdflibc::PDF_endpath", _wrap_PDF_endpath, file);
newXS("pdflibc::PDF_clip", _wrap_PDF_clip, file);
newXS("pdflibc::PDF_place_image", _wrap_PDF_place_image, file);
newXS("pdflibc::PDF_place_inline_image", _wrap_PDF_place_inline_image, file);
newXS("pdflibc::PDF_put_image", _wrap_PDF_put_image, file);
newXS("pdflibc::PDF_execute_image", _wrap_PDF_execute_image, file);
newXS("pdflibc::PDF_close_image", _wrap_PDF_close_image, file);
newXS("pdflibc::PDF_open_JPEG", _wrap_PDF_open_JPEG, file);
newXS("pdflibc::PDF_close_JPEG", _wrap_PDF_close_JPEG, file);
newXS("pdflibc::PDF_open_TIFF", _wrap_PDF_open_TIFF, file);
newXS("pdflibc::PDF_close_TIFF", _wrap_PDF_close_TIFF, file);
newXS("pdflibc::PDF_open_GIF", _wrap_PDF_open_GIF, file);
newXS("pdflibc::PDF_close_GIF", _wrap_PDF_close_GIF, file);
newXS("pdflibc::PDF_data_source_from_buf", _wrap_PDF_data_source_from_buf, file);
newXS("pdflibc::PDF_stringwidth", _wrap_PDF_stringwidth, file);
newXS("pdflibc::PDF_add_outline", _wrap_PDF_add_outline, file);
newXS("pdflibc::fopen", _wrap_fopen, file);
newXS("pdflibc::fclose", _wrap_fclose, file);
newXS("pdflibc::PDF_pagesize_width_set", _wrap_PDF_pagesize_width_set, file);
newXS("pdflibc::PDF_pagesize_width_get", _wrap_PDF_pagesize_width_get, file);
newXS("pdflibc::PDF_pagesize_height_set", _wrap_PDF_pagesize_height_set, file);
newXS("pdflibc::PDF_pagesize_height_get", _wrap_PDF_pagesize_height_get, file);
newXS("pdflibc::PDF_info_binary_mode_set", _wrap_PDF_info_binary_mode_set, file);
newXS("pdflibc::PDF_info_binary_mode_get", _wrap_PDF_info_binary_mode_get, file);
newXS("pdflibc::PDF_info_required_compatibility_set", _wrap_PDF_info_required_compatibility_set, file);
newXS("pdflibc::PDF_info_required_compatibility_get", _wrap_PDF_info_required_compatibility_get, file);
newXS("pdflibc::PDF_info_Keywords_set", _wrap_PDF_info_Keywords_set, file);
newXS("pdflibc::PDF_info_Keywords_get", _wrap_PDF_info_Keywords_get, file);
newXS("pdflibc::PDF_info_Subject_set", _wrap_PDF_info_Subject_set, file);
newXS("pdflibc::PDF_info_Subject_get", _wrap_PDF_info_Subject_get, file);
newXS("pdflibc::PDF_info_ModDate_set", _wrap_PDF_info_ModDate_set, file);
newXS("pdflibc::PDF_info_ModDate_get", _wrap_PDF_info_ModDate_get, file);
newXS("pdflibc::PDF_info_Title_set", _wrap_PDF_info_Title_set, file);
newXS("pdflibc::PDF_info_Title_get", _wrap_PDF_info_Title_get, file);
newXS("pdflibc::PDF_info_CreationDate_set", _wrap_PDF_info_CreationDate_set, file);
newXS("pdflibc::PDF_info_CreationDate_get", _wrap_PDF_info_CreationDate_get, file);
newXS("pdflibc::PDF_info_Creator_set", _wrap_PDF_info_Creator_set, file);
newXS("pdflibc::PDF_info_Creator_get", _wrap_PDF_info_Creator_get, file);
newXS("pdflibc::PDF_info_Author_set", _wrap_PDF_info_Author_set, file);
newXS("pdflibc::PDF_info_Author_get", _wrap_PDF_info_Author_get, file);
newXS("pdflibc::PDF_info_fontpath_set", _wrap_PDF_info_fontpath_set, file);
newXS("pdflibc::PDF_info_fontpath_get", _wrap_PDF_info_fontpath_get, file);
newXS("pdflibc::PDF_matrix_a_set", _wrap_PDF_matrix_a_set, file);
newXS("pdflibc::PDF_matrix_a_get", _wrap_PDF_matrix_a_get, file);
newXS("pdflibc::PDF_matrix_b_set", _wrap_PDF_matrix_b_set, file);
newXS("pdflibc::PDF_matrix_b_get", _wrap_PDF_matrix_b_get, file);
newXS("pdflibc::PDF_matrix_c_set", _wrap_PDF_matrix_c_set, file);
newXS("pdflibc::PDF_matrix_c_get", _wrap_PDF_matrix_c_get, file);
newXS("pdflibc::PDF_matrix_d_set", _wrap_PDF_matrix_d_set, file);
newXS("pdflibc::PDF_matrix_d_get", _wrap_PDF_matrix_d_get, file);
newXS("pdflibc::PDF_matrix_e_set", _wrap_PDF_matrix_e_set, file);
newXS("pdflibc::PDF_matrix_e_get", _wrap_PDF_matrix_e_get, file);
newXS("pdflibc::PDF_matrix_f_set", _wrap_PDF_matrix_f_set, file);
newXS("pdflibc::PDF_matrix_f_get", _wrap_PDF_matrix_f_get, file);
newXS("pdflibc::PDF_data_source_s_next_byte_set", _wrap_PDF_data_source_s_next_byte_set, file);
newXS("pdflibc::PDF_data_source_s_next_byte_get", _wrap_PDF_data_source_s_next_byte_get, file);
newXS("pdflibc::PDF_data_source_s_bytes_available_set", _wrap_PDF_data_source_s_bytes_available_set, file);
newXS("pdflibc::PDF_data_source_s_bytes_available_get", _wrap_PDF_data_source_s_bytes_available_get, file);
newXS("pdflibc::PDF_data_source_s_buffer_start_set", _wrap_PDF_data_source_s_buffer_start_set, file);
newXS("pdflibc::PDF_data_source_s_buffer_start_get", _wrap_PDF_data_source_s_buffer_start_get, file);
newXS("pdflibc::PDF_data_source_s_buffer_length_set", _wrap_PDF_data_source_s_buffer_length_set, file);
newXS("pdflibc::PDF_data_source_s_buffer_length_get", _wrap_PDF_data_source_s_buffer_length_get, file);
newXS("pdflibc::PDF_data_source_s_private_data_set", _wrap_PDF_data_source_s_private_data_set, file);
newXS("pdflibc::PDF_data_source_s_private_data_get", _wrap_PDF_data_source_s_private_data_get, file);
newXS("pdflibc::PDF_image_fp_set", _wrap_PDF_image_fp_set, file);
newXS("pdflibc::PDF_image_fp_get", _wrap_PDF_image_fp_get, file);
newXS("pdflibc::PDF_image_filename_set", _wrap_PDF_image_filename_set, file);
newXS("pdflibc::PDF_image_filename_get", _wrap_PDF_image_filename_get, file);
newXS("pdflibc::PDF_image_width_set", _wrap_PDF_image_width_set, file);
newXS("pdflibc::PDF_image_width_get", _wrap_PDF_image_width_get, file);
newXS("pdflibc::PDF_image_height_set", _wrap_PDF_image_height_set, file);
newXS("pdflibc::PDF_image_height_get", _wrap_PDF_image_height_get, file);
newXS("pdflibc::PDF_image_bpc_set", _wrap_PDF_image_bpc_set, file);
newXS("pdflibc::PDF_image_bpc_get", _wrap_PDF_image_bpc_get, file);
newXS("pdflibc::PDF_image_components_set", _wrap_PDF_image_components_set, file);
newXS("pdflibc::PDF_image_components_get", _wrap_PDF_image_components_get, file);
newXS("pdflibc::PDF_image_compression_set", _wrap_PDF_image_compression_set, file);
newXS("pdflibc::PDF_image_compression_get", _wrap_PDF_image_compression_get, file);
newXS("pdflibc::PDF_image_colorspace_set", _wrap_PDF_image_colorspace_set, file);
newXS("pdflibc::PDF_image_colorspace_get", _wrap_PDF_image_colorspace_get, file);
newXS("pdflibc::PDF_image_indexed_set", _wrap_PDF_image_indexed_set, file);
newXS("pdflibc::PDF_image_indexed_get", _wrap_PDF_image_indexed_get, file);
newXS("pdflibc::PDF_image_BitPixel_set", _wrap_PDF_image_BitPixel_set, file);
newXS("pdflibc::PDF_image_BitPixel_get", _wrap_PDF_image_BitPixel_get, file);
newXS("pdflibc::PDF_image_colormap_get", _wrap_PDF_image_colormap_get, file);
newXS("pdflibc::PDF_image_adobe_set", _wrap_PDF_image_adobe_set, file);
newXS("pdflibc::PDF_image_adobe_get", _wrap_PDF_image_adobe_get, file);
newXS("pdflibc::PDF_image_startpos_set", _wrap_PDF_image_startpos_set, file);
newXS("pdflibc::PDF_image_startpos_get", _wrap_PDF_image_startpos_get, file);
newXS("pdflibc::PDF_image_dpi_set", _wrap_PDF_image_dpi_set, file);
newXS("pdflibc::PDF_image_dpi_get", _wrap_PDF_image_dpi_get, file);
newXS("pdflibc::PDF_image_Background_set", _wrap_PDF_image_Background_set, file);
newXS("pdflibc::PDF_image_Background_get", _wrap_PDF_image_Background_get, file);
newXS("pdflibc::PDF_image_transparent_set", _wrap_PDF_image_transparent_set, file);
newXS("pdflibc::PDF_image_transparent_get", _wrap_PDF_image_transparent_get, file);
newXS("pdflibc::PDF_image_delayTime_set", _wrap_PDF_image_delayTime_set, file);
newXS("pdflibc::PDF_image_delayTime_get", _wrap_PDF_image_delayTime_get, file);
newXS("pdflibc::PDF_image_inputFlag_set", _wrap_PDF_image_inputFlag_set, file);
newXS("pdflibc::PDF_image_inputFlag_get", _wrap_PDF_image_inputFlag_get, file);
newXS("pdflibc::PDF_image_disposal_set", _wrap_PDF_image_disposal_set, file);
newXS("pdflibc::PDF_image_disposal_get", _wrap_PDF_image_disposal_get, file);
newXS("pdflibc::PDF_image_useGlobalColormap_set", _wrap_PDF_image_useGlobalColormap_set, file);
newXS("pdflibc::PDF_image_useGlobalColormap_get", _wrap_PDF_image_useGlobalColormap_get, file);
newXS("pdflibc::PDF_image_bitPixel_set", _wrap_PDF_image_bitPixel_set, file);
newXS("pdflibc::PDF_image_bitPixel_get", _wrap_PDF_image_bitPixel_get, file);
newXS("pdflibc::PDF_image_interlace_set", _wrap_PDF_image_interlace_set, file);
newXS("pdflibc::PDF_image_interlace_get", _wrap_PDF_image_interlace_get, file);
newXS("pdflibc::PDF_image_imageno_set", _wrap_PDF_image_imageno_set, file);
newXS("pdflibc::PDF_image_imageno_get", _wrap_PDF_image_imageno_get, file);
newXS("pdflibc::PDF_image_no_set", _wrap_PDF_image_no_set, file);
newXS("pdflibc::PDF_image_no_get", _wrap_PDF_image_no_get, file);
newXS("pdflibc::PDF_image_src_set", _wrap_PDF_image_src_set, file);
newXS("pdflibc::PDF_image_src_get", _wrap_PDF_image_src_get, file);
/*
* These are the pointer type-equivalency mappings.
* (Used by the SWIG pointer type-checker).
*/
SWIG_RegisterMapping("PDF_image","PDF_image_t",0);
SWIG_RegisterMapping("unsigned short","short",0);
SWIG_RegisterMapping("PDF","struct PDF_s",0);
SWIG_RegisterMapping("bytePtr","pdf_colormap",0);
SWIG_RegisterMapping("PDF_image_t","PDF_image",0);
SWIG_RegisterMapping("byte","unsigned char",0);
SWIG_RegisterMapping("long","unsigned long",0);
SWIG_RegisterMapping("long","signed long",0);
SWIG_RegisterMapping("PDF_encodingvector","charPtrPtr",0);
SWIG_RegisterMapping("signed short","short",0);
SWIG_RegisterMapping("struct PDF_data_source_s","PDF_data_source_s",0);
SWIG_RegisterMapping("struct PDF_data_source_s","PDF_data_source",0);
SWIG_RegisterMapping("pdf_colormap","bytePtr",0);
SWIG_RegisterMapping("signed int","int",0);
SWIG_RegisterMapping("PDF_data_source","struct PDF_data_source_s",0);
SWIG_RegisterMapping("charPtrPtr","PDF_encodingvector",0);
SWIG_RegisterMapping("short","unsigned short",0);
SWIG_RegisterMapping("short","signed short",0);
SWIG_RegisterMapping("unsigned long","long",0);
SWIG_RegisterMapping("int","unsigned int",0);
SWIG_RegisterMapping("int","signed int",0);
SWIG_RegisterMapping("unsigned int","int",0);
SWIG_RegisterMapping("PDF_data_source_s","struct PDF_data_source_s",0);
SWIG_RegisterMapping("struct PDF_s","PDF",0);
SWIG_RegisterMapping("unsigned char","byte",0);
SWIG_RegisterMapping("signed long","long",0);
ST(0) = &sv_yes;
XSRETURN(1);
}